export interface IPorject {
  id: number
  notificationId: string
  projectAdmin: number
  name: string
  description: string
  createAccountId: number
  updateAccountId: number
  gmtCreate: Date
  gmtModified: Date,
  notificationDTO?: NotifyFormState
}

export type ProjectTableNeeds = Pick<
  IPorject,
  'id' | 'name' | 'description' | 'projectAdmin'| 'notificationDTO' | 'notificationId'
>

export interface NotifyFormState {
    id?: string;
    isEnable: boolean;
    type: string;
    effectiveMode: string | string[];
    webhook: string;
    email: string;
    customKeywords: string;
    secret: string;
    safeMode: string;
  }